<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>

<div ng-controller="AllDocCtrl">
    <input type="text" ng-model="helloAngular">
    <div>{{helloAngular.length}}</div>
    <span>{{helloAngular}}</span>
</div>
<script>
    $(function () {
        window.AllDocCtrl = function ($scope) {
            console.log("${pageData}");
        }
        AngularApp.init();
    });
</script>

</body>
</html>